package deepr.src.pg;

import deepr.core.DisposeContext;
import deepr.db.SqlMapper;
import deepr.src.DeeprMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@EqualsAndHashCode(callSuper = true)
@Data
@Component
public class PgDisposeContext extends DisposeContext {

  @Autowired
  private SqlMapper sqlMapper;

  public void reset() {
    super.reset();
  }

  public DeeprMapper getDeeprMapper() {
    return sqlMapper;
  }

}
